package com.aaa.dao.scl;

import com.aaa.entity.scl.Scl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 问题表(Scl)表数据库访问层
 *
 * @author makejava
 * @since 2022-08-30 14:34:47
 */
public interface SclDao {
    /**
     * @create by: Teacher马
     * @description:查讯所有 分页 排序
     * @create time:

     * @return
     */
    List<Scl> queryAllUserPage(Scl scl);

    /**
     * @create by: Teacher马
     * @description:添加
     * @create time:

     * @return
     */
    boolean saveUser(Scl scl);

    /**
     * @create by: Teacher马
     * @description:根据id删除 多选删除
     * @create time:

     * @return
     */
    boolean deleteUser(@Param("xxx") int[] id);

    /**
     * @create by: Teacher马
     * @description:修改
     * @create time:

     * @return
     */
    boolean updateUser(Scl scl);

    /**
     * @param
     * @return Integer
     * @create by: feng (zhaixing@163.com)
     * @description: 查询题目是否重名
     * @create time: 2022/7/14 17:03
     */
    Integer repetitionName(Scl scl);

}

